<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> 
<title>)</title> 
<script src="http://cdn.static.runoob.com/libs/jquery/2.0.0/jquery.min.js">
</script>
<script>
$(document).ready(function(){
    $("#btn").click(function(){
        $("p").remove();
        // remove删除所有元素 empty删除子元素；
    });
});

</script>
</head>
 <p>点击下面的按钮移出p元素</p>
 <button id="btn">按钮</button>
<body>

     
</body>
</html>